<%@ Page Language="C#" AutoEventWireup="true" CodeFile="browser.aspx.cs" Inherits="Private_CMS_main_Browser" %>
<%@ Register TagPrefix="flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>

<html>
	<head runat="server">
		<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
		<link href="localstyle.css" rel="Stylesheet" type="text/css" />

	<script language="javascript">
	function ReturnNode( nodeid, nodename, nodepath )
	{
        if( window.parent != null )
        {
            if( window.parent.SetContentNode != null )
            {
                window.parent.SetContentNode( nodeid, nodename, nodepath );
                return;
            }
        }
		if( window.opener != null ) 
		{
			if( window.opener.CL_SetValue != null )
				window.opener.CL_SetValue('<%=Request["controlID"]%>', nodeid, nodename);
		}
		window.close();
	}
	</script>

	</head>

<body bgcolor="#f2f2f2">
<form id="form1" runat="server">
<flux:HostTable runat="server" Height="100%">

<flux:PanelBox runat="server" Title="Select node to reference" Height="100%">
<flux:ShadePadBox runat="server" Height="100%">

	<asp:TreeView runat="server" ID="_tree" 
				  ShowExpandCollapse="true" 
				  ShowLines="true"
				  NodeStyle-CssClass="nodestylelink"
				  SelectedNodeStyle-CssClass="nodestyleselected"
				  PopulateNodesFromClient="true"
				  >
	</asp:TreeView>

</flux:ShadePadBox>
</flux:PanelBox>

</flux:HostTable>
</form>
</body>
</html>
